<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<title>766-资讯文章</title>
	<link href="${base}/resources/terminal/css/style.css" rel="stylesheet" type="text/css" />
</head> 
<body>
	[#include "/terminal/include/search.ftl" /]
	<div class="content container clearfix">
			<div class="left">
				<nav class="head_nav clearfix">
					<div class="left classification">
						<label>资讯中心：</label>
						<ul>
							<li><a href="list.jhtml" [#if articleCategoryId == null]class="selected_class"[/#if]>全部</a></li>
							[#list articleCategorys as cate]
								<li><a href="list.jhtml?articleCategoryId=${cate.id}" [#if cate.id == articleCategoryId]class="selected_class"[/#if]>${cate.name}</a></li>
							[/#list]
						</ul>
					</div>
				</nav>
				<div class="article_bottom">
					<div class="article_head">
						<h2 class="main_color">${article.title}</h2>
						<div>
							<label>日期：</label>
							<span class="gray">${article.createDate?string("yyyy-MM-dd HH:mm:ss")}</span>
							<label for="">作者:</label>
							<span>${article.author}</span>
						</div>
					</div>
					<div class="article_con">
						${article.content}
					</div>
				</div>
			</div>
			[#include "/pad/include/aside.ftl" /]
		</div>
	[#include "/pad/include/footer.ftl" /]
</body>
<script type="text/javascript" src="${base}/resources/public/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="${base}/resources/mobile/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/terminal/js/public.js"></script>
<script type="text/javascript">
	var base ="${base}";
	$().ready(function() {
		var $hits = $("#hits");
		// 查看点击数
		$.ajax({
			url: "${base}/article/hits/${article.id}.jhtml",
			type: "GET",
			success: function(data) {
				$hits.text(data);
			}
		});
	});
</script>
</html>